package com.orhon.smartcampus.modules.student.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "student_parents", schema = "smartcloud", catalog = "")
public class Parents {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false)
	private Long id;
	@Column(name = "student_id", nullable = true)
	private Long StudentId;
	@Column(name = "parent_name", nullable = true)
	private String parentName;
	@Column(name = "relation", nullable = true)
	private String relation;
	@Column(name = "nation", nullable = true, length = 255)
	private String nation;
	@Column(name = "gender", nullable = true, length = 255)
	private String gender;
	@Column(name = "idcard", nullable = true, length = 191)
	private String idcard;
	@Column(name = "is_guardian", nullable = true)
	private Integer isGuardian;
	@Column(name = "postal_address", nullable = true, length = 255)
	private String postalAddress;
	@Column(name = "picture", nullable = true, length = 255)
	private String picture;
	@Column(name = "tel_number", nullable = true, length = 255)
	private String telNumber;
	@Column(name = "created_at", nullable = true)
	private Date createdAt;
	@Column(name = "updated_at", nullable = true)
	private Date updatedAt;
	@Column(name = "deleted_at", nullable = true)
	private Date deletedAt;
}
